/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @private
 *
 * @properties={typeid:24,uuid:"1D448F32-2293-402F-8E0F-A2AADAC77FE6"}
 */
function nuevo(event) {
	databaseManager.setAutoSave(false)
	var $win = application.createWindow('ALTA_TAREA',JSWindow.MODAL_DIALOG)
	forms.tareas_dtl.controller.newRecord()
	forms.tareas_dtl.controller.show($win)
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @private
 *
 * @properties={typeid:24,uuid:"281BDF4A-F641-4EAF-BA3A-F311242182D4"}
 */
function modificar(event) {
	databaseManager.setAutoSave(false)
	var $win = application.createWindow('ALTA_TAREA',JSWindow.MODAL_DIALOG)
	forms.tareas_dtl.controller.show($win)
}
